using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Chimera2.Classes
{
    public class BulletinPost
    {
        private string userName;
        [XmlAttribute("Username")]
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        private Guid userHubGuid;
        [XmlAttribute("HubGUID")]
        public Guid UserHub
        {
            get { return userHubGuid; }
            set { userHubGuid = value; }
        }

        private string userHubName;
        [XmlAttribute("HubName")]
        public string UserHubName
        {
            get { return userHubName; }
            set { userHubName = value; }
        }
        
        private string text;
        public string Text
        {
            get { return text; }
            set { text = value; }
        }

        private int sortOrder;
        [XmlAttribute("Sort")]
        public int SortOrder
        {
            get { return sortOrder; }
            set { sortOrder = value; }
        }

        private DateTime created;
        [XmlAttribute("Created")]
        public DateTime Created
        {
            get { return created; }
            set { created = value; }
        }

        private DateTime updated;
        [XmlAttribute("Updated")]
        public DateTime Updated
        {
            get { return updated; }
            set { updated = value; }
        }
    }
}
